An open formula is a formula that contains at least one free variable.
An open formula does not have a truth value assigned to it, in contrast with a closed formula which constitutes a proposition and thus can have a truth value like true or false. An open formula can be transformed into a closed formula by applying a quantifier for each free variable. This transformation is called capture of the free variables to make them bound variables.
For example, when reasoning about , the formula " x+2 > y" is open, since it contains the free variables x and y. In contrast, the formula "∃ y ∀ x: x+2 > y" is closed, and has truth value true.
Open formulas are often used in rigorous mathematical definitions of properties, like
An example of a closed formula with truth value false involves the sequence of
studied by Fermat in connection to the primality. The attachment of the predicate letter P ( is prime) to each number from the Fermat sequence gives a set of closed formulae. While they are true for n = 0,...,4, no larger value of n is known that obtains a true formula, ; for example, is not a prime. Thus the closed formula ∀ n P( F n) is false.
|
|